<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/charge.css"/>
		<title>首充</title>
	</head>
	<body>
		<div id="web">
			<div class="charge-head">
				<img src="img/charge/charge_head.jpg"/>
			</div>
			<div class="charge-title">
				<div class="charge-title1">
					<img src="img/charge/charge_title1.png"/>
					<div class="title-size">
						首次充值大礼包你充100我们送你800
					</div>
				</div>
				<div class="charge-title2">
					<img src="img/charge/charge_title2.png"/>
					<div class="title-size">
						<p>充值享大礼</p>
						<p>跨年店庆同欢</p>
					</div>
				</div>
			</div>
			<div class="charge-money">
				<div class="money-content">
					<img src="img/charge/charge_money_bgr.png"/>
					<div class="money-quan">
						<div class="quan-li1">
							<div class="quan-li1-title">
								充3000送3000
							</div>
							<div class="quan-li1-img">
								<img src="img/charge/charge_money_li1.png"/>
							</div>
						</div>
						<div class="quan-li1">
							<div class="quan-li1-title">
								充2000送2000
							</div>
							<div class="quan-li1-img">
								<img src="img/charge/charge_money_li2.png"/>
							</div>
						</div>
						<div class="quan-li1">
							<div class="quan-li1-title">
								充1500送1500
							</div>
							<div class="quan-li1-img">
								<img src="img/charge/charge_money_li3.png"/>
							</div>
						</div>
						<div class="quan-li1">
							<div class="quan-li1-title">
								充1000送1000
							</div>
							<div class="quan-li1-img">
								<img src="img/charge/charge_money_li4.png"/>
							</div>
						</div>
							<div class="quan-li1">
							<div class="quan-li1-title">
								充900送900
							</div>
							<div class="quan-li1-img">
								<img src="img/charge/charge_money_li5.png"/>
							</div>
						</div>
						<div class="quan-li1">
							<div class="quan-li1-title">
								充700送700
							</div>
							<div class="quan-li1-img">
								<img src="img/charge/charge_money_li6.png"/>
							</div>
						</div>
							<div class="quan-li1">
							<div class="quan-li1-title">
								充500送500
							</div>
							<div class="quan-li1-img">
								<img src="img/charge/charge_money_li7.png"/>
							</div>
						</div>
						<div class="quan-li1">
							<div class="quan-li1-title">
								充200送200
							</div>
							<div class="quan-li1-img">
								<img src="img/charge/charge_money_li8.png"/>
							</div>
						</div>
						<div class="money-button">
							<div class="money-img">
								<img src="img/charge/money_button.png"/>
								<div class="img-title">
									首次充多少送多少
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
		<script type="text/javascript">
		document.body.style.height=window.innerHeight+"px";
		//动态改变根元素字体大小
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth / 640) + 'px';
												//字体大小 = 1个rem单位表示多少个像素，设备的宽度 / 设计宽度
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
		</script>
</html>
